import { get, post } from '../../utils/request'

/**
 * 条件查询
 */
export function pageQuery(params) {
  return get('/orderComment/pageQuery', params)
}

/**
 * 审核通过
 * @param {id} params
 * @returns
 */
export function checkPass(params) {
  return post('/orderComment/checkPass', { id: params })
}

/**
 * 审核不通过
 * @param {id} params
 * @returns
 */
export function checkNoPass(params) {
  return post('/orderComment/checkNoPass', { id: params })
}

/**
 * 根据id删除
 * @param {id} params
 * @returns
 */
export function deleteById(params) {
  return get('/orderComment/deleteById', { id: params })
}
